-- GENERATED SPELL FOR [Bloodseeker Bat] --


function spell0_11368(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(24023,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11368', 571, 1)
end

function Sorts_11368(pUnit, Event)
local choix_sorts_11368 = math.random(0, 0)
if choix_sorts_11368 == 0 then
pUnit:RegisterEvent('spell0_11368', 1, 1)
end
end

function mob11368_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11368', math.random(1500, 3000), 1)
end

function mob11368_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11368_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11368_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11368, 1, 'mob11368_Action')
RegisterUnitEvent(11368, 2, 'mob11368_Leave')
RegisterUnitEvent(11368, 3, 'mob11368_Kill')
RegisterUnitEvent(11368, 4, 'mob11368_Die')
